<extend name="desktop_default/template/base_index" />
<block name="area_header">
    <link rel="stylesheet" href="__JS__/common/dropzone/dropzone.min.css">
    <script type="text/javascript" src="__JS__/common/dropzone/dropzone.min.js"></script>
    <link rel="stylesheet" href="__CSS__/yuerjing/style.css">
</block>

<block name="area_top">
    <include file="desktop_default/template/user_bar" />
    <include file="desktop_default/template/shcart_bar" />
    <include file="desktop_default/template/nav_bar" />
</block>

<block name="area_content">
    <div class="yej-content main2-content">
        <div class="yej-content-top">
            <div class="yej-list-top">
                <div class="yej-list-top-left">
                    <img src="{$detail.head}">
                </div>
                <div class="yej-list-top-right">
                    <div class="yej-list-top-left-top">
                        {$detail.author}<a class="btn btn-focus" href="javascript:void(0);"><eq name="detail.is_focus" value="1">已关注<else/>关注</eq></a>
                    </div>
                    <div class="yej-list-top-left-bottom">
                        <notempty name="detail.baby_default_info">
                            <span>{$detail.baby_default_info.sex}</span><span>{$detail.baby_default_info.birthday}</span>
                        </notempty>

                    </div>
                </div>
            </div>
            <div class="yej-list-middle">
                <span class="yej-title">{$detail.subject}</span><br>
                {$detail.message}
                <div class="images">
                    <volist name="detail.img" id="vo">
                        <a href="{$vo}" target="_blank"><img src="{$vo}"></a>
                    </volist>
                </div>
            </div>
            <div class="yej-list-bottom">
                <div class="fl"><img src="__IMG__/yuerjing/dateline.png">{$detail.dateline_show}</div>
                <div class="fr"><a href="javascript:void(0);" class="ifav"><img src="__IMG__/yuerjing/shoucang.png"><span><eq name="detail.is_fav" value="1">已收藏<else/>收藏</eq></span></a></div>

            </div>
        </div>
        <div class="yej-reply main2-content">
            <textarea name="reply" placeholder="想说点什么？"></textarea>
            <a class="btn btn-pinglun">评论</a>
        </div>
        <div class="yej-content-comment-list">
            <empty name="replys">
                <div class="empty-list">暂时没有任何评论哦~~</div>
            </empty>
            <notempty name="replys">
                <volist name="replys" id="vo">
                    <div class="yej-content-comment" data-pid="{$vo.pid}" data-authorid="{$vo.author_id}" data-author="{$vo.author_info.nickname}">
                        <div class="yej-content-comment-left">
                            <img src="{$vo.author_info.head}">
                        </div>
                        <div class="yej-content-comment-right">
                            <div class="yej-content-comment-right-top">
                                <span>{$vo.author_info.nickname}</span><notempty name="vo.reply_info">回复<span>{$vo.reply_info.nickname}</span></notempty>:&nbsp;{$vo.comment}
                            </div>
                            <div class="yej-content-comment-right-bottom">
                                <div class="yej-content-comment-right-bottom-left">{$vo.dateline|date="Y-m-d H:i:s",###}</div>
                                <div class="yej-content-comment-right-bottom-right"><notempty name="user_info"><a href="javascript:void(0);" class="reply">回复</a></notempty></div>
                            </div>
                        </div>
                        <div style="clear:both"></div>
                    </div>
                </volist>
                {$show}
            </notempty>
        </div>
    </div>
    <div class="bottom-line"></div>
</block>

<block name="area_footer">
    <include file="desktop_default/template/footer_ad" />
    <include file="desktop_default/template/footer_nav" />
    <include file="desktop_default/template/footer_bottom" />
</block>
<block name="area_js">
    <script type="text/javascript">
        var yej_post_type = "{$yej_type}";
        var yej_post_tid = "{$detail.tid}";
        var yej_post_authorid = "{$detail.author_id}";
    </script>
    <script type="text/javascript" src="__JS__/yuerjing/detail/common.js"></script>
</block>